import fetch from '../common1'
// 商城信息
export const shop_info = (params) => {
    return fetch.get(params, 'manager/shop-info');
}

//编辑商城信息
export const editshopInfo = (params) => {
    return fetch.post(params, 'manager/edit');
}

//配送列表
export const distance_list = (params) => {
    return fetch.get(params, 'manager/distance-list');
}

//添加配送
export const add_distance = (params) => {
    return fetch.post(params, 'manager/add-distance');
}

//删除配送
export const del_distance = (params) => {
    return fetch.post(params, 'manager/del-distance');
}

//获取公告列表
export const notice_list = (params) => {
    return fetch.get(params, 'manager/notice-list');
}

//添加公告
export const add_notice = (params) => {
    return fetch.post(params, 'manager/add-notice');
}

//删除公告
export const del_notice = (params) => {
    return fetch.post(params, 'manager/del-notice');
}